package com.zerosky.crm.po;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Branch实体类 与实体表关联
 * 
 * 
 */
public class Branch implements Serializable {
	private static final long serialVersionUID = 1L;
	/* 部门ID */
	private String branchId;
	/* 部门名称 */
	private String branchName;
	/* 备注 */
	private String remake;
	/* 所属公司 */
	private Department dept;
	/* 下属团队 */
	private List<Branch> childBranchs;
	/* 上级部门Id */
	private String pid;
	/* 是否启用 */
	private Integer status;
	/* 创建时间 */
	private Date createDate;

	private Integer employeeCount;// 用于统计员工数量
	private Integer isPluralize;// 用于适用范围

	public Integer getIsPluralize() {
		return isPluralize;
	}

	public void setIsPluralize(Integer isPluralize) {
		this.isPluralize = isPluralize;
	}

	public String getBranchId() {
		return branchId;
	}

	public void setBranchId(String branchId) {
		this.branchId = branchId;
	}

	public String getBranchName() {
		return branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public String getRemake() {
		return remake;
	}

	public void setRemake(String remake) {
		this.remake = remake;
	}

	public List<Branch> getChildBranchs() {
		return childBranchs;
	}

	public void setChildBranchs(List<Branch> childBranchs) {
		this.childBranchs = childBranchs;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Department getDept() {
		return dept;
	}

	public void setDept(Department dept) {
		this.dept = dept;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public Integer getEmployeeCount() {
		return employeeCount;
	}

	public void setEmployeeCount(Integer employeeCount) {
		this.employeeCount = employeeCount;
	}

}